package com.ruoyi.common.core.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 供应商管理对象 tb_paymen
 * 
 * @author ruoyi
 * @date 2023-09-18
 */
public class PaymentMethod extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 支付方式id */
    private Long id;

    /** 父id */
    @Excel(name = "父id")
    private Long parentId;

    /** 什么支付方式 */
    @Excel(name = "什么支付方式")
    private String paymentName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setPaymentName(String paymentName)
    {
        this.paymentName = paymentName;
    }

    public String getPaymentName()
    {
        return paymentName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("paymentName", getPaymentName())
            .toString();
    }
}
